﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AdminForm
{
    public partial class AddHotelDialog : Form
    {
         public String City         
         { 
            get { return txtCity.Text; } 
            set { txtCity.Text = value; }     
         } 
         public String HotelName         
         { 
            get { return txtHotelName.Text; } 
            set { txtHotelName.Text = value; }     
         }
         public String Rooms        
         {    
            get { return txtNumberRooms.Text; } 
            set { txtNumberRooms.Text = value; }      
         }
         public String Rate        
         { 
            get { return txtRate.Text; } 
            set { txtRate.Text = value; }      
         } 
         private void cmdOk_Click(object sender, EventArgs e) 
         {    
             Close();  
         }
        public AddHotelDialog()
        {
            InitializeComponent();
        }

    }
}
